import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { Route } from '@angular/router';
import { TaskworkingComponent } from './taskworking/taskworking.component';
import { WorkingtimeformComponent } from './workingtimeform/workingtimeform.component';
import { WorkingcharComponent } from './workingchar/workingchar.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    {
                        path: 'taskworking',
                        component: TaskworkingComponent,
                        data: {
                            permission: '',
                        },
                    },
                    {
                        path: 'workingtimeform',
                        component: WorkingtimeformComponent,
                        data: {
                            permission:
                                '',
                        },
                    },
                    {
                        path: 'workingchar',
                        component: WorkingcharComponent,
                        data: {
                            permission: '',
                        },
                    },
                ],
            },
        ]),
    ],
    exports: [RouterModule],
})
export class WorkingtimeRoutingModule {}
